<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;

Route::get('room/index', 'index/room/index');
Route::get('order/index', 'index/order/index');
Route::get('news/index', 'index/news/index');

Route::get('room/reserve', 'index/room/reserve');
Route::get('order/cancel', 'index/order/cancel');
Route::get('room/:id', 'index/room/detail');
Route::get('order/:id', 'index/order/detail');
Route::get('news/:id', 'index/news/detail');

Route::get('login', 'index/user/index');
Route::get('logout', 'index/user/logout');
Route::get('register', 'index/user/index');

Route::post('login', 'index/user/login');
Route::post('register', 'index/user/register');


